package com.njcky.model.enums;

public enum GeoCompareEnum {
    INTERSECTS("intersects", " public.st_intersects (public.st_geomfromtext('{rings}', {SRID}),shape) "),
    CONTAINS("contains", " public.st_contains (public.st_geomfromtext('{rings}', {SRID}),shape) "),
    CONTAINSPROPERLY("containsProperly", " public.st_containsProperly (public.st_geomfromtext('{rings}', {SRID}),shape) "),
    COVERS("covers", " public.st_covers (public.st_geomfromtext('{rings}', {SRID}),shape) "),
    COVEREDY("coveredBy", " public.st_coveredBy (public.st_geomfromtext('{rings}', {SRID}),shape) "),
    BUFFER("buffer", " public.st_buffer (public.st_geomfromtext('{rings}','{SRID}'),{RADIUS})"),
    AREA("area", " public.st_buffer (public.st_geomfromtext('{rings}','{SRID}'),{RADIUS})"),
    CROSSES("crosses", " public.st_crosses (public.st_geomfromtext('{rings}', {SRID}),shape) ");

    private String desc;
    private String sign;

    private GeoCompareEnum(String desc, String sign) {
        this.desc = desc;
        this.sign = sign;
    }
    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getSign() {
        return this.sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
